﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Software41.Tracking.Model;

namespace Software41.Tracking.Data.EF
{
    public class ProcessTraceInfoMapping : EntityTypeConfiguration<ProcessTraceInfo>
    {
        public ProcessTraceInfoMapping()
        {
            ToTable("bam_ProcessDiagnostics_ViewProcessTraceInfo_View");
            HasKey(p => p.ActivityID);
            Ignore(p => p.RelatedProcesses);
            Ignore(p => p.StepInfos);
            Ignore(p => p.LogDetails);
            Ignore(p => p.ReferenceData);

        }
    }
}
